using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ITS.Core.Domain.Events
{
    public class Event
    {
        [Key]
        public Guid EventID { get; set; }
        public int CategoryID { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public string LinkText { get; set; }
        public bool Active { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime ModifiedDate { get; set; }
        public string LanguageID { get; set; }
        public string Location { get; set; }
        public bool IsPermanent { get; set; }

        public virtual EventCategory EventCategory { get; set; }
    }
}
